//------奖金池----------

import request from "@/router/axios";

//获取负责机构
export function getOrg(){
  return request({
      url: '/admin/dept/getJiangJinBm',
      method: 'get'
    })
}


//获取奖金池数据
export function getPoolData(query) {
  return request({
    url: '/bonus/bonuspoolyear/getPoolList/' + query.deptId + '/' + query.year + '/' + query.timeType + '/' + query.poolType,
    method: 'get',
  })
}

//单元格的值改变时
export function saveCell(query) {
  return request({
    url: '/bonus/bonuspoolyear/updateSingle',
    method: 'get',
    params:query
  })
}


